import request from '@/utils/request'

// 查询语音转写记录列表
export function listRing_voice_record(query) {
  return request({
    url: '/ring/ring_voice_record/list',
    method: 'get',
    params: query
  })
}

// 查询语音转写记录详细
export function getRing_voice_record(id) {
  return request({
    url: '/ring/ring_voice_record/' + id,
    method: 'get'
  })
}

// 新增语音转写记录
export function addRing_voice_record(data) {
  return request({
    url: '/ring/ring_voice_record',
    method: 'post',
    data: data
  })
}

// 修改语音转写记录
export function updateRing_voice_record(data) {
  return request({
    url: '/ring/ring_voice_record',
    method: 'put',
    data: data
  })
}

// 删除语音转写记录
export function delRing_voice_record(id) {
  return request({
    url: '/ring/ring_voice_record/' + id,
    method: 'delete'
  })
}
